home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / apps / database / ingres04.lzh / source / ovqp / startovqp.c < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-18  |  699 b   |  44 lines

  1. # include    <ingres.h>
  2. # undef BITS
  3. # include    <symbol.h>
  4. # include    <tree.h>
  5. # include    <aux.h>
  6. # include    "../decomp/globs.h"
  7. # include    "../ctlmod/pipes.h"
  8. # include    <signal.h>
  9. # include    <sccs.h>
  10. # include    <errors.h>
  11. # include    <math.h>
  12. # include    <errno.h>
  13.  
  14. SCCSID(@(#)startovqp.c    8.3    1/31/86)
  15.  
  16. /*
  17. **    Give a user error for a floating point exceptions
  18. */
  19.  
  20. void
  21. flptexcep()
  22. {
  23.     ov_err(FLOATEXCEP);
  24. }
  25.  
  26. /*
  27. **    startovqp is called at the beginning of
  28. **    the execution of ovqp.
  29. */
  30.  
  31. void
  32. startovqp()
  33. {
  34.  
  35.     if (Equel)
  36.         startequel();
  37.  
  38.     De.ov_tupsfound = 0;    /* counts the number of tuples which sat the qual */
  39.     De.ov_retrieve = De.ov_bopen = FALSE;
  40.     /* catch floating point signals */
  41.     signal(SIGFPE, flptexcep);
  42. }
  43.  
  44.